home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-01-01 | 395 b | 25 lines | [TEXT/ttxt] |
- 'OpMePlease sample ONTEXT plugin
- '© John Bafford, 1996-1997
-
- *ONTEXT "op me please*" -1 0
- *ENDCONF
-
- @ENTRY op me please*
- @IF AUTOOP = TRUE op kick
-
- @LABEL op
- @IF NICKHASOPS = $NICK already opThem
-
- @LABEL already
- SAY You already have ops, $NICK!
- @END
-
- @LABEL opThem
- OP $NICK
- @WRITELN $NICK required ops.
- @END
-
- @LABEL kick
- KICK $NICK No ops begging!
- @WRITELN $NICK was kicked for ops begging.
- @END